Manager: QuickDraw Manager



Carbon supports most of the QuickDraw programming interface.

Carbon applications should use CreateNewPort and DisposePort to open and close graphics ports, rather than OpenPort, OpenCPort, ClosePort, and CloseCPort.

Carbon adds functions to get and set port data without accessing port data structures directly. For example, you can use such functions as GetPixBounds, GetPortFillPixPat, SetPortBounds, and SetPortPenSize.

In the past, parts of QuickDraw have been documented in Inside Macintosh as the Color Manager and Cursor Utilities. Note, however, that Inside Macintosh: Imaging with QuickDraw describes animated cursor functions, such as SpinCursor, that are available in the MPW programming environment and possibly in other environments, but not in system software. These animated cursor functions, which are defined in the MPW interface file CursorCtl.h, will not be supported by Carbon.

Supported  AddComp

Supported  AddPt

Modified  addpt

Use AddPt instead.

Supported  AddSearch

Supported  AllocCursor

Supported  AllowPurgePixels

Supported  AngleFromSlope

Supported  BackColor

Supported  BackPat

Supported  BackPixPat

Supported  BitMapToRegion

Supported  CalcCMask

Supported  CalcMask

Supported  CallColorComplementProc

Supported  CallColorSearchProc

Supported  CallDeviceLoopDrawingProc

Supported  CallDragGrayRgnProc

Supported  CallQDArcProc

Supported  CallQDBitsProc

Supported  CallQDCommentProc

Supported  CallQDGetPicProc

Supported  CallQDJShieldCursorProc

Supported  CallQDLineProc

Supported  CallQDOpcodeProc

Supported  CallQDOvalProc

Supported  CallQDPolyProc

Supported  CallQDPutPicProc

Supported  CallQDRectProc

Supported  CallQDRgnProc

Supported  CallQDRRectProc

Supported  CallQDStdGlyphsProc

Supported  CallQDTextProc

Supported  CallQDTxMeasProc

Supported  ClipRect

Unsupported  CloseCPort

Carbon applications should use CreateNewPort and DisposePort to open and close graphics ports.

Supported  ClosePicture

Supported  ClosePoly

Unsupported  ClosePort

Carbon applications should use CreateNewPort and DisposePort to open and close graphics ports.

Supported  CloseRgn

Supported  Color2Index

Supported  ColorBit

Supported  ColorComplementProcPtr

Supported  ColorSearchProcPtr

Supported  CopyBits

Supported  CopyDeepMask

Supported  CopyMask

Supported  CopyPixMap

Supported  CopyPixPat

Supported  CopyRgn

Supported  CreateNewPort

Supported  CTabChanged

Supported  DelComp

Supported  DelSearch

Supported  DeltaPoint

Modified  deltapoint

Use DeltaPoint instead.

Supported  DeviceLoop

Supported  DeviceLoopDrawingProcPtr

Supported  DiffRgn

Supported  DisposeCCursor

Supported  DisposeColorComplementUPP

Supported  DisposeColorSearchUPP

Supported  DisposeCTable

Supported  DisposeDeviceLoopDrawingUPP

Supported  DisposeDragGrayRgnUPP

Supported  DisposeGDevice

Supported  DisposeGWorld

Supported  DisposePixMap

Supported  DisposePixPat

Supported  DisposePort

Supported  DisposeQDArcUPP

Supported  DisposeQDBitsUPP

Supported  DisposeQDCommentUPP

Supported  DisposeQDGetPicUPP

Supported  DisposeQDJShieldCursorUPP

Supported  DisposeQDLineUPP

Supported  DisposeQDOpcodeUPP

Supported  DisposeQDOvalUPP

Supported  DisposeQDPolyUPP

Supported  DisposeQDPutPicUPP

Supported  DisposeQDRectUPP

Supported  DisposeQDRgnUPP

Supported  DisposeQDRRectUPP

Supported  DisposeQDStdGlyphsUPP

Supported  DisposeQDTextUPP

Supported  DisposeQDTxMeasUPP

Supported  DisposeRgn

Supported  DisposeScreenBuffer

Supported  DragGrayRgnProcPtr

Supported  DrawPicture

Supported  EmptyRect

Supported  EmptyRgn

Supported  EqualPt

Modified  equalpt

Use EqualPt instead.

Supported  EqualRect

Supported  EqualRgn

Supported  EraseArc

Supported  EraseOval

Supported  ErasePoly

Supported  EraseRect

Supported  EraseRgn

Supported  EraseRoundRect

Supported  FillArc

Supported  FillCArc

Supported  FillCOval

Supported  FillCPoly

Supported  FillCRect

Supported  FillCRgn

Supported  FillCRoundRect

Supported  FillOval

Supported  FillPoly

Supported  FillRect

Supported  FillRgn

Supported  FillRoundRect

Supported  ForeColor

Supported  FrameArc

Supported  FrameOval

Supported  FramePoly

Supported  FrameRect

Supported  FrameRgn

Supported  FrameRoundRect

Supported  GDeviceChanged

Supported  GetBackColor

Supported  GetCCursor

Supported  GetClip

Supported  GetCPixel

Supported  GetCTable

Supported  GetCTSeed

Supported  GetCursor

Supported  GetDeviceList

Supported  GetDIBFromPICT

Supported  GetForeColor

Supported  GetGDevice

Supported  GetGWorld

Supported  GetGWorldDevice

Supported  GetGWorldPixMap

Supported  GetHWNDPort

Supported  GetIndPattern

Supported  GetMainDevice

Supported  GetMaskTable

Supported  GetMaxDevice

Supported  GetNativeWindowPort

Supported  GetNextDevice

Supported  GetPattern

Supported  GetPen

Supported  GetPenState

Supported  GetPICTFromDIB

Supported  GetPicture

Supported  GetPixBaseAddr

Supported  GetPixBounds

Use this new accessor function in place of direct access to structs.

Supported  GetPixDepth

Use this new accessor function in place of direct access to structs.

Supported  GetPixel

Supported  GetPixelsState

Supported  GetPixPat

Supported  GetPixRowBytes

Supported  GetPort

Supported  GetPortBackColor

Use this new accessor function in place of direct access to structs.

Supported  GetPortBackPixPat

Use this new accessor function in place of direct access to structs.

Supported  GetPortBounds

Use this new accessor function in place of direct access to structs.

Supported  GetPortChExtra

Supported  GetPortClipRegion

Use this new accessor function in place of direct access to structs.

Supported  GetPortFillPixPat

Use this new accessor function in place of direct access to structs.

Supported  GetPortForeColor

Use this new accessor function in place of direct access to structs.

Supported  GetPortFracHPenLocation

Supported  GetPortGrafProcs

Use this new accessor function in place of direct access to structs.

Supported  GetPortHBITMAP

Supported  GetPortHDC

Supported  GetPortHFONT

Supported  GetPortHiliteColor

Supported  GetPortHPALETTE

Supported  GetPortHWND

Supported  GetPortNativeWindow

Supported  GetPortOpColor

Use this new accessor function in place of direct access to structs.

Supported  GetPortPenLocation

Use this new accessor function in place of direct access to structs.

Supported  GetPortPenMode

Use this new accessor function in place of direct access to structs.

Supported  GetPortPenPixPat

Use this new accessor function in place of direct access to structs.

Supported  GetPortPenSize

Use this new accessor function in place of direct access to structs.

Supported  GetPortPenVisibility

Supported  GetPortPixMap

Use this new accessor function in place of direct access to structs.

Supported  GetPortRegionSave

Use this new accessor function in place of direct access to structs.

Supported  GetPortSpExtra

Supported  GetPortTextFace

Use this new accessor function in place of direct access to structs.

Supported  GetPortTextFont

Use this new accessor function in place of direct access to structs.

Supported  GetPortTextMode

Use this new accessor function in place of direct access to structs.

Supported  GetPortTextSize

Use this new accessor function in place of direct access to structs.

Supported  GetPortVersion

Use this new accessor function in place of direct access to structs.

Supported  GetPortVisibleRegion

Supported  GetPortVisRegion

Use this new accessor function in place of direct access to structs.

Supported  GetPortWindow

Use this new accessor function in place of direct access to structs.

Supported  GetQDGlobalsArrow

Supported  GetQDGlobalsBlack

Supported  GetQDGlobalsDarkGray

Supported  GetQDGlobalsGray

Supported  GetQDGlobalsLightGray

Supported  GetQDGlobalsRandomSeed

Supported  GetQDGlobalsScreenBits

Supported  GetQDGlobalsThePort

Supported  GetQDGlobalsWhite

Supported  GetRegionBounds

Supported  GetSubTable

Supported  GlobalToLocal

Supported  GrafDevice

Supported  HideCursor

Supported  HidePen

Supported  HiliteColor

Supported  Index2Color

Supported  InitCPort

Supported  InitCursor

When your Carbon application is launched, the system sets the cursor to the watch cursor. Your application should call InitCursor at the end of its startup initialization process, to reset the cursor.

Supported  InitGDevice

Supported  InitGraf

Supported  InitPort

Supported  InsetRect

Supported  InsetRgn

Supported  InvertArc

Supported  InvertColor

Supported  InvertOval

Supported  InvertPoly

Supported  InvertRect

Supported  InvertRgn

Supported  InvertRoundRect

Supported  InvokeColorComplementUPP

Supported  InvokeColorSearchUPP

Supported  InvokeDeviceLoopDrawingUPP

Supported  InvokeDragGrayRgnUPP

Supported  InvokeQDArcUPP

Supported  InvokeQDBitsUPP

Supported  InvokeQDCommentUPP

Supported  InvokeQDGetPicUPP

Supported  InvokeQDJShieldCursorUPP

Supported  InvokeQDLineUPP

Supported  InvokeQDOpcodeUPP

Supported  InvokeQDOvalUPP

Supported  InvokeQDPolyUPP

Supported  InvokeQDPutPicUPP

Supported  InvokeQDRectUPP

Supported  InvokeQDRgnUPP

Supported  InvokeQDRRectUPP

Supported  InvokeQDStdGlyphsUPP

Supported  InvokeQDTextUPP

Supported  InvokeQDTxMeasUPP

Supported  IsPortOffscreen

Supported  IsPortPictureBeingDefined

Supported  IsPortRegionBeingDefined

Supported  IsRegionRectangular

Supported  KillPicture

Supported  KillPoly

Supported  Line

Supported  LineTo

Supported  LocalToGlobal

Supported  LockPixels

Supported  LockPortBits

Supported  MacRegionToNativeRegion

Supported  MakeITable

Supported  MakeRGBPat

Supported  MapPoly

Supported  MapPt

Supported  MapRect

Supported  MapRgn

Supported  Move

Supported  MovePortTo

Supported  MoveTo

Supported  NativeRegionToMacRegion

Supported  NewColorComplementProc

Supported  NewColorComplementUPP

Supported  NewColorSearchProc

Supported  NewColorSearchUPP

Supported  NewDeviceLoopDrawingProc

Supported  NewDeviceLoopDrawingUPP

Supported  NewDragGrayRgnProc

Supported  NewDragGrayRgnUPP

Supported  NewGDevice

Supported  NewGWorld

Supported  NewGWorldFromPtr

Supported  NewPixMap

Supported  NewPixPat

Supported  NewQDArcProc

Supported  NewQDArcUPP

Supported  NewQDBitsProc

Supported  NewQDBitsUPP

Supported  NewQDCommentProc

Supported  NewQDCommentUPP

Supported  NewQDGetPicProc

Supported  NewQDGetPicUPP

Supported  NewQDJShieldCursorProc

Supported  NewQDJShieldCursorUPP

Supported  NewQDLineProc

Supported  NewQDLineUPP

Supported  NewQDOpcodeProc

Supported  NewQDOpcodeUPP

Supported  NewQDOvalProc

Supported  NewQDOvalUPP

Supported  NewQDPolyProc

Supported  NewQDPolyUPP

Supported  NewQDPutPicProc

Supported  NewQDPutPicUPP

Supported  NewQDRectProc

Supported  NewQDRectUPP

Supported  NewQDRgnProc

Supported  NewQDRgnUPP

Supported  NewQDRRectProc

Supported  NewQDRRectUPP

Supported  NewQDStdGlyphsProc

Supported  NewQDStdGlyphsUPP

Supported  NewQDTextProc

Supported  NewQDTextUPP

Supported  NewQDTxMeasProc

Supported  NewQDTxMeasUPP

Supported  NewRgn

Supported  NewScreenBuffer

Supported  NewTempScreenBuffer

Supported  NoPurgePixels

Supported  ObscureCursor

Supported  OffscreenVersion

Supported  OffsetPoly

Supported  OffsetRect

Supported  OffsetRgn

Supported  OpColor

Supported  OpenCPicture

Unsupported  OpenCPort

Carbon applications should use CreateNewPort and DisposePort to open and close graphics ports.

Supported  OpenPicture

Supported  OpenPoly

Unsupported  OpenPort

Carbon applications should use CreateNewPort and DisposePort to open and close graphics ports.

Supported  OpenRgn

Supported  PackBits

Supported  PaintArc

Supported  PaintOval

Supported  PaintPoly

Supported  PaintRect

Supported  PaintRgn

Supported  PaintRoundRect

Supported  PenMode

Supported  PenNormal

Supported  PenPat

Supported  PenPixPat

Supported  PenSize

Supported  PicComment

Supported  PixMap32Bit

Supported  PixPatChanged

Supported  PortChanged

Supported  PortSize

Supported  ProtectEntry

Supported  Pt2Rect

Modified  pt2rect

Use Pt2Rect instead.

Supported  PtInRect

Modified  ptinrect

Use PtInRect instead.

Supported  PtInRgn

Modified  ptinrgn

Use PtInRgn instead.

Supported  PtToAngle

Modified  pttoangle

Use PtToAngle instead.

Supported  qd

Supported  QDArcProcPtr

Supported  QDBitsProcPtr

Supported  QDCommentProcPtr

Supported  QDDone

Supported  QDError

Supported  QDGetPicProcPtr

Supported  QDJShieldCursorProcPtr

Supported  QDLineProcPtr

Supported  QDOpcodeProcPtr

Supported  QDOvalProcPtr

Supported  QDPolyProcPtr

Supported  QDPrinterStatusProcPtr

Supported  QDPutPicProcPtr

Supported  QDRectProcPtr

Supported  QDRgnProcPtr

Supported  QDRRectProcPtr

Supported  QDStdGlyphsProcPtr

Supported  QDTextProcPtr

Supported  QDTxMeasProcPtr

Supported  Random

Supported  RealColor

Supported  RectInRgn

Supported  RectRgn

Supported  ReserveEntry

Supported  RestoreEntries

Supported  RGBBackColor

Supported  RGBForeColor

Supported  SaveEntries

Supported  ScalePt

Supported  ScreenRes

Supported  ScrollRect

Supported  SectRect

Supported  SectRgn

Supported  SeedCFill

Supported  SeedFill

Supported  SetCCursor

Supported  SetClientID

Supported  SetClip

Supported  SetCPixel

Supported  SetCursor

Supported  SetDeviceAttribute

Supported  SetEmptyRgn

Supported  SetEntries

Supported  SetGDevice

Supported  SetGWorld

Supported  SetOrigin

Supported  SetPenState

Supported  SetPixelsState

Supported  SetPort

Supported  SetPortBackPixPat

Use this new accessor function in place of direct access to structs.

Supported  SetPortBits

Supported  SetPortBounds

Use this new accessor function in place of direct access to structs.

Supported  SetPortClipRegion

Use this new accessor function in place of direct access to structs.

Supported  SetPortFracHPenLocation

Supported  SetPortGrafProcs

Use this new accessor function in place of direct access to structs.

Supported  SetPortOpColor

Use this new accessor function in place of direct access to structs.

Supported  SetPortPenMode

Use this new accessor function in place of direct access to structs.

Supported  SetPortPenPixPat

Use this new accessor function in place of direct access to structs.

Supported  SetPortPenSize

Use this new accessor function in place of direct access to structs.

Supported  SetPortPix

Supported  SetPortVisibleRegion

Supported  SetPortVisRegion

Use this new accessor function in place of direct access to structs.

Supported  SetPt

Supported  SetQDGlobalsArrow

Supported  SetQDGlobalsRandomSeed

Supported  SetRect

Supported  SetRectRgn

Supported  SetStdCProcs

Supported  SetStdProcs

Supported  ShieldCursor

Modified  shieldcursor

Use ShieldCursor instead.

Supported  ShowCursor

Supported  ShowPen

Supported  SlopeFromAngle

Supported  StdArc

Supported  StdBits

Supported  StdComment

Supported  StdGetPic

Supported  StdLine

Modified  stdline

Use StdLine instead.

Supported  StdOpcode

Supported  StdOval

Supported  StdPoly

Supported  StdPutPic

Supported  StdRect

Supported  StdRgn

Supported  StdRRect

Supported  StuffHex

Modified  stuffhex

Use StuffHex instead.

Supported  SubPt

Modified  subpt

Use SubPt instead.

Supported  TestDeviceAttribute

Supported  UnionRect

Supported  UnionRgn

Supported  UnlockPixels

Supported  UnlockPortBits

Supported  UnpackBits

Supported  UpdateGWorld

Supported  UpdatePort

Supported  XorRgn

[Table of Contents] [Manager Index] [Function Index]

Generated on: 7/7/99. Copyright 1999 Apple Computer, Inc. All rights reserved.